<%--
  Created by IntelliJ IDEA.
  User: exordinaryhy
  Date: 2024/5/2
  Time: 10:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>登录页面</title>
</head>
<body>
<h3>用户登录</h3>
<form action="stuservlet?method=login" method="post"enctype="application/x-www-form-urlencoded">
    <table>
        <tr>
            <td>
                <input type="text" name="stuname" placeholder="请输入用户名">
            </td>
        </tr>
        <tr>
            <td>
                <input type="password" name="pwd" placeholder="请输入密码">
            </td>
        </tr>
        <tr>
            <td>
                <input type="submit"value="登录">
            </td>
        </tr>
    </table>

</form>
<div class="text-center" style="color:red">${msg}</div>
</body>
</html>